package com.woniuxy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.woniuxy.controller.CoursesController;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;
import java.util.List;

/**
 * (Trainings)实体类
 *
 * @author makejava
 * @since 2022-03-07 14:30:31
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Training implements Serializable {
    private static final long serialVersionUID = -96832244219789487L;
    
    private Integer id;
    
    private String trainingname;
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date establishtime;
    
    private String establish;
    
    private String categoryid;
    
    private String introduction;
    
    private BigDecimal score;
    
    private String cover;
    
    private String status;
    
    private BigDecimal budget;
    
    private String credentials;
    
    private String modifier;
    
    private Date modifiertime;

    private List<Course> courseList;
}

